package com.hoapital.outpbillwork.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoapital.outpbillwork.module.entity.OutpPrepayRcptTemp;
import com.hospital.common.core.exception.ExceptionHelp;
import com.hoapital.outpbillwork.module.controller.dto.OrderSure;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * ÃÅÕïÔ¤½»½ðÁÙÊ±±í¼ÇÂ¼ 服务类
 * </p>
 *
 * @author lvyao
 * @since 2022-01-04
 */
public interface OutpPrepayRcptTempService extends IService<OutpPrepayRcptTemp> {
    Map<String, Object> ceateOrderInfo(String patient_id, OrderSure orderSure, BigDecimal charges) throws ExceptionHelp;

    boolean updateFlag(String patientId, String orderNO);

    List<OutpPrepayRcptTemp> getSingleBill(String billNo);

    String getCommOrderConfig();
}
